@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0">
        <div style="display: none">
            <input type="hidden" id="id" value="">
            <input type="hidden" id="outpatientNameValue" value="${outParientName}">
            <input type="hidden" id="auditStatusValue" value="0">
            <input type="hidden" id="auditNode" value="${auditNode}">
            <input type="hidden" id="deptName" value="${deptName}">
        </div>
        <div class="numStatistics">
            <div><div onclick="DiscountToExamineTable.approval('0')"><span>待我审批</span>（<span id="pendingApproval">0</span>）</div></div>
            <div onclick="DiscountToExamineTable.approval('1')"><span>我已审批</span>（<span id="approved">0</span>）</div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>提交时间</span>
                    <input type="text" autocomplete="off" id="startCreateTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endCreateTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD 23:59:59',choose:checkDate})">
                </div>
                <div>
                    <span>门诊</span>
                    <select id="outPatientName" name="outPatientName" class="selectBox" onchange="DiscountToExamineTable.search()">
                        <option value="">--请选择到店门诊--</option>
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div>
                    <span>审核结果</span>
                    <select id="auditStatus" name="auditStatus" class="selectBox" onchange="DiscountToExamineTable.search()">
                        <option value="">全部</option>
                        <option value="0">未审批</option>
                        <option value="1">一级审批完成</option>
                        <option value="2">审批通过</option>
                    </select>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="DiscountToExamineTable.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="discountToExamineTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/logsf/discountToExamine/discountToExamine.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/marketing/reservations/marketSearchContent.js?v=20200718"></script>
@}